make row readonly tablewidget pyqt

39

item = QTableWidgetItem()
item.setFlags(item.flags() ^ Qt.ItemIsEditable)
tableName.setItem(row, column, item)

Comments

Submit
0 Comments